//
//  BasePopViewController.h
//  ManBetX
//
//  Created by Cocoa on 2020/4/29.
//  Copyright © 2020 Fullen. All rights reserved.
//

#import <UIKit/UIKit.h>

NS_ASSUME_NONNULL_BEGIN

@interface BasePopViewController : UIViewController

@property (copy, nonatomic) void (^didDisplayed)(BasePopViewController *);
@property (copy, nonatomic) void (^didDismissed)(BasePopViewController *);


- (void)show;
- (void)show:(void(^)(void))code;
- (void)showInLowWindowLevel;
- (void)showHightLevel;
- (void)dismiss;
- (void)dismiss:(void (^)(void))completion;
- (void)didShowAnimation;

- (void)show:(NSTimeInterval)duration animations:(void(^)(void))animations completed:(void(^)(void))completed;

- (void)showWithoutAnimation;

@end


NS_ASSUME_NONNULL_END
